package my.crawler;

import java.util.List;

import my.crawler.data.ObjectData;


public interface CrawlerTrainer {
	/**
	 * Set current url for crawling trainee
	 * @param content TODO
	 * @param url TODO
	 */
	public void setCurrentPage(String content, String url) throws Exception;;
	
	/**
	 * Add tag about specific part of content in current page
	 * @param text
	 * @param path
	 * @throws Exception 
	 */
	public void addTag(String text, String path, String tag) throws Exception;
	
	public Crawler buildCrawler() throws Exception;

	List<ObjectData> crawl();
}
